<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            box-sizing: border-box;
        }
        .parent {
            display: flex;
            background-color: skyblue;
            flex-direction: column;
            height: 100vh;
        }
        .title {
            background-color: orange;
            overflow: hidden;
        }
        .main {
            flex: 1;
            background-color: pink;
            display: flex;
            min-height: 0;
        }
        .main > .content {
            background-color: yellow;
            width: 70%;
            /* height: 100%; */
        }
        .main > .side {
            background-color: yellowgreen;
            width: 30%;
            /* height: 100%; */
            /* height: 300px; */
            /* overflow: auto; */
            /* min-height: 0; */
            overflow: auto;
            margin: 1em;
        }
        table, td {
            border: 1px solid #000;
        }
        table {
            border-collapse: collapse;
        }
    </style>
</head>
<body>
    <div class="parent">
        <h1 class="title">XXX</h1>
        <div class="main">
            <div class="content"></div>
            <div class="side">
                <table>
                    <caption>XXXX</caption>
                    <thead>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        <tr>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                            <td>ABCDEFG</td>
                        </tr>
                        
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</body>
</html>